package org.footballmanager.pandafootball.system.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.footballmanager.pandafootball.system.domain.FootBfDetail;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

@Mapper
public interface FootBfDetailMapper extends BaseMapper<FootBfDetail> {
    /**
     * 进球或助攻TOP10
     * @return
     */
    List<FootBfDetail> findTopByType(@Param("type") Integer type);

}